This program was written in VB6 in Win2K SP1 using
KPCIPIO-850A04 release of DriverLINX for KPCI-PIO Series
boards.

The purpose is to demonstate how to use an ERB-24 with
a KPCI-PIOxx board.  If using a KPCI-PIO96, connect the ERB-24
to the Group 0 connector to make use of channels 0 through 2.


Power must be connected to the ERB-24. 

Port A (channel 0) of the KPCI-PIOxx controls relays 0 through 7 of the ERB-24.
Port B (channel 1) of the KPCI-PIOxx controls relays 16 through 23 of the ERB-24.
Port C (channel 2) of the KPCI-PIOxx controls relays 8 through 15 of the ERB-24.

The channels of the KPCI-PIOxx will power up as high impedance inputs.  To use
these logic lines to control the relays of the ERB-24, the channels must first
be configured for output direction.

Writing a value of 1 to the bit will turn the relay ON;  a value of 0 will turn it OFF.